<!DOCTYPE html>
<html lang="zh">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>天嘉智慧云</title>
    <#include "/headerTj.html">
        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
    <link rel="stylesheet" href="${request.contextPath}/statics/plugins/bootstrap-table/bootstrap-table.min.css" />
    <script src="${request.contextPath}/statics/plugins/bootstrap-table/bootstrap-table.min.js"></script>
    <script src="${request.contextPath}/statics/plugins/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap-datepicker/1.8.0/locales/bootstrap-datepicker.zh-CN.min.js"></script>
        <style>
            #container {
                height: 800px;
                width: 100%;
            }

            .progress {
                margin-bottom: 0px;
            }

            .panel-body-nopad {
                padding: 0px;

            }

            .subs {
                background: #fff;
                border: 0;
            }

            .btn-group-justified > .btn.focus, .btn:focus, .btn:hover {
                color: white;
                text-decoration: none;
            }

            .btn-default:hover {
                color: #fff;
                background-color: #5AA7f3;
                border-color: #fff;
            }
             .c-datepicker-date-editor {
                 border:none;
                 background-color: #5bc0de;
             }
        </style>
        </head>

<body>
<div class="container-fluid nolrpad" style="padding:0 0.5%;">
    <div class="row">
        <div class="col-lg-10">
            <ul id="myTab" class="nav nav-pills nav-lb">
                <li class="nobtnli"><a href="#opt" data-toggle="tab" > 视频监控</a></li>
            </ul>
            <div class="panel panel-default" style="padding-top:0;">
                <form class="form-inline" role="form">
                    <div class="form-group">
                        <label class="sr-only" for="time">录像时间</label>
                        <input type="text" class="form-control" id="time" placeholder="请选择时间">
                    </div>
                    <div class="form-group">
                        <label class="sr-only" for="time">车辆列表</label>
                        <select id="carId" class="form-control">
                            <option value="0">请选择车辆</option>
                        </select>
                    </div>
                    <div class="form-group">
                        <button type="button" class="btn btn-primary btn-sm"  id="sou">录像查询</button>
                    </div>
                    <div class="form-group">
                        <button type="button" class="btn btn-primary btn-sm" onclick="stopLiveVideo()">停止</button>
                    </div>
                </form>
                <div class="panel-body nopaddingtop" style="padding:0;">
                    <div id="cmsv6flash">
                    </div>
                    <div>
                        <table id="table"></table>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-lg-2" id="tab">
            <div class="btn-group btn-group-justified" role="group" style="margin-top:0px;">
                <a type="button" class="btn btn-default btn-in-head "><span style="float: left;"><i
                        class="fa fa-step-forward"></i></span>在线车辆</a>
            </div>
            <ul class="nav nav-tabs">
                <div class="btn-group btn-group-justified btn-group-sub">
                    <a href="#totalcar" type="button" data-toggle="tab" class="btn btn-in-head rectangle-top "
                       style="width:50%;" id="myTabbtn">全 部 </a>
                    <a href="#regioncar" type="button" data-toggle="tab" class="btn btn-in-head " style="width:50%;"
                       id="myTabbtn2">区 域</a>
                </div>
            </ul>
            <div id="rightpanel" class="tab-content">
                <div class="tab-pane fade in active" id="totalcar">
                    <div class="input-group custom-search-form">
                        <input type="text" class="form-control" placeholder="搜索...">
                        <span class="input-group-btn"><button class="btn btn-default" type="button"><i
                                class="fa fa-search"></i></button></span>
                    </div>
                    <ul class="nav navasp">
                        <li v-for="item in areaList.carList">
                            <a data-toggle="collapse" :href="'#setNavcar'+item.imei"  >
                                <p>
                                    <i class="fa fa-plus" aria-hidden="true"></i>{{item.plateNum}}
                                </p>
                            </a>
                            <div class="collapse" :id="'setNavcar'+item.imei">
                                <ul class="nav lnav navinnav">
                                    <li><a href="#" @click="show(item.videoId,0)"><i class="fa fa-camera" ></i> 扬尘观察</a></li>
                                    <li><a href="#" @click="show(item.videoId,1)"><i class="fa fa-camera"></i> 车前观察</a></li>
                                    <li><a href="#" @click="show(item.videoId,2)"><i class="fa fa-camera"></i> 车后观察</a></li>
                                    <li><a href="#" @click="show(item.videoId,3)"><i class="fa fa-camera"></i> 车内观察</a></li>
                                </ul>
                            </div>
                        </li>
                    </ul>
                </div>
                <div class="tab-pane fade" id="regioncar">
                    <div class="input-group custom-search-form">
                        <input type="text" class="form-control" placeholder="搜索...">
                        <span class="input-group-btn"><button class="btn btn-default" type="button"><i class="fa fa-search"></i></button></span>
                    </div>
                    <ul class="nav navasp">
                        <li  v-for="item in areaList.areaList">
                            <a data-toggle="collapse"  :href="'#setNavreg'+item.pid">
                                <p>
                                    <i class="fa fa-minus" aria-hidden="true" ></i>{{item.projectName}}
                                </p>
                            </a>
                            <div class="collapse"   :id="'setNavreg'+item.pid">
                                <ul class="nav lnav navinnav">
                                    <li v-for="it in areaList.carList">
                                        <a data-toggle="collapse" :href="'#setNavregCar'+item.pid" >
                                            <p>
                                                <i class="fa fa-minus" aria-hidden="true" ></i>{{it.plateNum}}</p>
                                        </a>
                                        <div class="collapse" :id="'setNavregCar1'+item.pid">
                                            <ul class="nav lnav navinnav">
                                                <li><a href="#" @click="show(it.videoId,0)"><i class="fa fa-camera" ></i> 扬尘观察</a></li>
                                                <li><a href="#" @click="show(it.videoId,1)"><i class="fa fa-camera"></i> 车前观察</a></li>
                                                <li><a href="#" @click="show(it.videoId,2)"><i class="fa fa-camera" ></i> 车后观察</a></li>
                                                <li><a href="#" @click="show(it.videoId,3)"><i class="fa fa-camera" ></i> 车内观察</a></li>
                                            </ul>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="${request.contextPath}/statics/js/modules/xinpai/video/swfobject.js?_${.now?long}"></script>
<script type="text/javascript" src="${request.contextPath}/statics/js/modules/xinpai/video/play.js?_${.now?long}"></script>
<script type="text/javascript" src="${request.contextPath}/statics/js/modules/xinpai/video/video.js?_${.now?long}"></script>
</body>
</html>
